// 引入工具类
import axios from '../config'

// 使用
const URL = 'api-ftp' // 公共前缀地址
export const overrideRule = {

	//分页查询 查询所有业务元素
	findAll(data) {
		return axios.post(URL + '/ftp/overrideAccount/findAll', data)
	},
	save(data) {
		return axios.post(URL + '/ftp/overrideAccount/save', data)
	},
	remove(data) {
		return axios.post(URL + '/ftp/overrideAccount/remove', data)
	},
	//checkUsing
	checkUsing(data){
		return axios.post(URL + '/ftp/overrideAccount/checkUsing', data)
	},
	checkUniqueByDateRange(data){
		return axios.post(URL + '/ftp/overrideAccount/checkUniqueByDateRange', data)
	},
	//导出模板
	exp(data) {
		return axios.exportFile(URL + '/ftp/overrideAccount/exp', data, false)
	},
	//导入模板
	imp(data) {
		return axios.fileUpload(URL + '/ftp/overrideAccount/imp', data, false)
	},
	
 

}




